<template>
  <el-button @click="popupChartAdd = true" type="primary">添加图表</el-button>
  <el-table :data="ChartTable">
    <el-table-column prop="name" label="图表名" />
    <el-table-column prop="type" label="图表类型" />
    <el-table-column prop="cron" label="执行周期" />
    <el-table-column prop="created_at" label="创建时间" />
  </el-table>

  <Chart v-if="popupChartAdd" v-model="popupChartAdd"></Chart>
</template>


<script lang="ts" setup>
import { ref } from 'vue'
import Chart from '@/components/Popup/Analysis/Chart/Chart.vue'

const popupChartAdd = ref(true)
const ChartTable = ref([])
</script>

<style></style>
